import React from 'react'
import { Tab } from 'semantic-ui-react'
import AllFunding from './allFundingTab'
import SponsorFunging from './sponsorFundingTab'
import SupportFunging from './supportFundingTab'

const panes = [
    { menuItem: '所有的众筹合约', render: () => <Tab.Pane><AllFunding/></Tab.Pane> },
    { menuItem: '我发起的众筹', render: () => <Tab.Pane><SponsorFunging/></Tab.Pane> },
    { menuItem: '我参与的众筹', render: () => <Tab.Pane><SupportFunging/></Tab.Pane> },
]

const TabExampleBasic = () => <Tab panes={panes} />

export default TabExampleBasic
